package com.tansuo365.test1.service.otherservice;

import com.tansuo365.test1.bean.otherbean.YanshouDetails;
import com.tansuo365.test1.bean.otherbean.YanshouZong;

import java.util.List;

public interface YanshouZongService {

    //获取今日最大验收单号,如果没有,则从时间戳+0001开始,如果有则++如0001++ 则0002
    String getTodayMaxYanshouDanNumber();

    int deleteByPrimaryKey(String id);

    int insertSelective(YanshouZong yanshouZong);

    //添加到货单 以及所有到货单物料
    int saveZongAndDetails(YanshouZong yanshouZong, List<YanshouDetails> yanshouDetailsList);

    YanshouZong selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(YanshouZong yanshouZong);

    //动态查询验收总表
    List<YanshouZong> listYanshouZong(YanshouZong yanshouZong);

    int deleteBatchByPKArr(Integer[] ids);

}
